tools/libxl: Assert success of memory allocation in testidl
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 7 Aug 2015 14:06:23 +0000 (15:06 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 13 Aug 2015 09:46:48 +0000 (10:46 +0100)
commit4289820507df2913300d9fe6caf733e0600f0d54
tree1eff51a6eff837af6fc12fb439d9ce50b4b2183d
parent31cf2ca7518188ec154d1d82c38970883183fa3b
tools/libxl: Assert success of memory allocation in testidl

The chances of an allocation failing are slim but nonzero.  Assert
success of each allocation to quieten Coverity, which re-notices defects
each time the IDL changes.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/gentest.py